package wu2020.top.compare.orm.demo;

import lombok.extern.slf4j.Slf4j;
import org.noear.solon.Solon;
import org.noear.solon.annotation.Import;
import org.noear.solon.annotation.SolonMain;
import org.wu.framework.lazy.orm.core.stereotype.LazyScan;
import wu2020.top.compare.orm.demo.config.DynamicDbVisitorAutoConfiguration;
//import wu2020.top.compare.orm.demo.infrastructure.mapper.jpa.BatchSaveRepositoryImpl;


//@EnableJpaRepositories(
//        repositoryBaseClass = BatchSaveRepositoryImpl.class
//) // jpa
@LazyScan(scanBasePackages ="wu2020.top.compare.orm.demo.infrastructure.entity" )
@Import(DynamicDbVisitorAutoConfiguration.class)// dbvisitor
//@MapperScan(value = "wu2020.top.compare.orm.demo.infrastructure.mapper.dbvisitor") // dbvisitor
//@EnableBeetl
@Slf4j
@SolonMain
public class CompareOrmDemoApplication  {

    public static void main(String[] args) {
        Solon.start(CompareOrmDemoApplication.class, args);
    }


}


